package com.hq.mapper;

import com.hq.pojo.Doctor;
import com.hq.pojo.RoleLogin;

import com.hq.pojo.Appointment;

import java.util.List;

public interface AdminMapper {

    List<Appointment> selectAllUser();

    //修改密码
    int updatePassword(RoleLogin roleLogin);

    //获取医护人员信息
    List<Doctor> selectAllDoctor();

    //根据医护人员的姓名查看预约人员情况
    List<Appointment> selectDoctorAllUser(String name);

    //管理员体检人员的删除
    void deleteAppointment(Integer appointId);

    void deleteDoctor(Integer doctorId);
}
